Skip to content

Conversation

erquhart
Copy link
Contributor

Code execution in inactive browser tabs is sporadic and unreliable. The remaining race conditions I've observed in long running tabs have to do with delayed settimeouts and scheduled reconnects clobbering each other, resulting in unexpected websocket state transitions, and ultimately false unauth states.

This change allows stopped and disconnected states, which can happen unexpectedly and lead to a false unauth state, to at least attempt reconnect.

I've been running this for weeks and saw no remaining race conditions and no logouts, but made some slight changes for this PR, so opening as draft for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant